export const getAppName = () => {
  return new Promise((resolve, reject) => {
    const error = null
    setTimeout(() => {
      if (!error) {
        resolve(
          {
            code: 200,
            info: { appName: 'ServerAppName' }
          }
        )
      } else {
        reject(error)
      }
    }, 2000)
  })
}
